<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__HCSS__bootstrap.css">
    <link rel="stylesheet" href="__HCSS__reset.css"/>
    <link rel="stylesheet" href="__HCSS__common.css"/>
    <script src="__HJS__page.js"></script>
</head>
<body>
                <div style="width:750px;padding:0 20px;margin:0 auto;"> <!--背景色、边框、阴影-->
                    <div >
                            <div class="form-group">
                            </div>
                        <table class="table table-bordered text-center helper-list">
                            <thead>
                            <tr class="success helper-name">
                                <th><b>患者姓名</b></th>
                                <th><b>患者主治</b></th>
                                <th><b>联系方式</b></th>
                                <th><b>操作</b></th>
                            </tr>
                            </thead>
                            <volist name="helper" id="v">
                                <tr>
                                    <td>{$v[patient]['true_name']}</td>
                                    <td>{}</td>
                                    <td>{$v[patient]['phone']}</td>
                                    <td><a href="javascript:;" class="btn-xs btn-success">查看</a></td>
                                </tr>
                            </volist>
                        </table>
                    </div>
                </div>
    <script src="__HJS__jquery-2.1.1.js"></script>
    <script type="text/javascript" src="__HJS__jquery.dataTables.min.js"> </script>

</body>
<script>
    tableSort($('.helper-list'));
    function tableSort(obj) {
        var actionColumnIndex = $('.helper-name th').length;
        if (!actionColumnIndex || actionColumnIndex < 1) {
            return;
        }
        obj.dataTable({
            "aaSorting": [[1, "desc"]],
            "bStateSave": false,
            "aoColumnDefs": [
                {
                    "orderable": false, "aTargets": [0, actionColumnIndex - 1]
                }
            ],
            "aLengthMenu": [[7], [7]],
            "sPaginationType": "full_numbers",
            "sDom": '<"top" f>rt<"bottom">p<"clear">'
//            "sDom": '<"top"fli>rt<"bottom">p<"clear">'
        });
    }
</script>
</html>